package com.zhentao.model.common.pojo.coupon;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName coupons_user
 */
@TableName(value ="coupons_user")
@Data
public class CouponsUser implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     *
     */
    @TableField(value = "coupon_id")
    private Integer couponId;

    /**
     *
     */
    @TableField(value = "expire")
    private Date expire;

    /**
     *
     */
    @TableField(value = "status")
    private Object status;

    /**
     *
     */
    @TableField(value = "use_time")
    private Date useTime;

    /**
     *
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
